package edu.nf.ch07;

import edu.nf.ch07.service.PaymentService;

import java.math.BigDecimal;

/**
 * @author wangl
 * @date 2025/4/17
 */
public class PayServlet {

    public static void main(String[] args) {
        BigDecimal money = new BigDecimal("100.00");
        PaymentService service = new PaymentService("aliPay");
        service.pay(money);
    }
}